<?php

class Involved_LogModel extends  BaseModel
{
	protected $table = 'log';
	protected $primaryKey = 'log_id';

	/**
	 * 管理员列表
	 * @return mixed
	 */
	public function LogService()
	{

		return DB::table($this->table)
				->select('log_id','operator','content','type','log.created','name')
				->join('admin','admin.id','=','log.operator')
				->get();
	}


}